package com.we.flink.accountuserlabelplatform.table;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class TableRepayPlan {
    //    public static final String KFKTABLE = "fdm.uni01_repay_plan";
    public static final String KFKTABLE = "fdm.uni01_repay_plan_221026";
    public static final String QUERYSQL =
            "select user_key as account_user_key, loan_key, "
                    + " periods, status, due_date, "
                    + "left_principal from "
                    + KFKTABLE;

    public String account_user_key;
    public String loan_key;
    public Integer periods;
    public String status;
    public Timestamp due_date;
    public BigDecimal left_principal;

    public TableRepayPlan() {}

    public TableRepayPlan(
            String account_user_key,
            String loan_key,
            Integer periods,
            String status,
            Timestamp due_date,
            BigDecimal left_principal) {
        this.account_user_key = account_user_key;
        this.loan_key = loan_key;
        this.periods = periods;
        this.status = status;
        this.due_date = due_date;
        this.left_principal = left_principal;
    }

    public String getAccount_user_key() {
        return account_user_key;
    }

    public String getLoan_key() {
        return loan_key;
    }

    public Integer getPeriods() {
        return periods;
    }

    public String getStatus() {
        return status;
    }

    public Timestamp getDue_date() {
        return due_date;
    }

    public BigDecimal getLeft_principal() {
        return left_principal;
    }
}
